<!-- $Id: shop_config.htm 16865 2009-12-10 06:05:32Z sxc_shop $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 商店设置 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__TMPL__/Public/styles/general.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__/Public/styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ROOT__/JS/jquery.js"></script>
<script language="javascript">
$(document).ready(function(e) {
    $("#tabbar-div>p>span").click(function(){
		$(this).siblings(".tab-front").removeClass("tab-front").addClass("tab-back");
		$(this).removeClass("tab-back").addClass("tab-front");
		
		var id=$(this).attr('id').replace("-tab","-table");
		$("table#"+id).show().siblings("table").hide();
	});
});
</script>
</head>
<body>

<h1>
<span class="action-span"><a href="__ACTION__/action/add">添加新配置</a></span>
<span class="action-span1"><a href="__APP__/Index/first">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 系统设置 </span>
<div style="clear:both"></div>
</h1>
<div class="tab-div">
  <!-- tab bar -->
  <div id="tabbar-div">
    <p>
      <span class="tab-front" id="system-tab">系统设置</span>
      <span class="tab-back" id="diy-tab">自定义设置</span>
      </p>
  </div>
  <!-- tab body -->
  <div id="tabbody-div">
    <form enctype="multipart/form-data" name="theForm" action="__ACTION__" method="post"><input name="action" type="hidden" value="list" />
        <table width="90%" id="system-table" >
        <volist name='syslist' id='row'>
                  <tr>
        <td class="label" valign="top">
                    {$row.vartitle}:
        </td>
        <td>
       		  <switch name="row.vartype" >
                <case value='singleline'>
                    <input name="var[{$row.Id}]" type="text" value="{$row.varvalue}" size="40" />
                </case>
                <case value='multiline'>
                	<textarea name="var[{$row.Id}]" cols="40" >{$row.varvalue}</textarea>
                </case>    
                </switch>
                    <br />
                    <span class="notice-span" style="display:block"  id="noticeshop_title">:config("{$row.varname}")</span>

                            </td>
      </tr>
      	</volist>
          </table>
        <table width="90%" id="diy-table" style="display:none">
        <volist name='diylist' id='row'>
                  <tr>
        <td class="label" valign="top">
                    {$row.vartitle}:
        </td>
        <td>
        		<switch name="row.vartype" >
                <case value='singleline'>
                    <input name="var[{$row.Id}]" type="text" value="{$row.varvalue}" size="40" />
                </case>
                <case value='multiline'>
                	<textarea name="var[{$row.Id}]" cols="40" >{$row.varvalue}</textarea>
                </case>    
                </switch>
                    <br />
                    <span class="notice-span" style="display:block"  id="noticeshop_title">:config("{$row.varname}")</span>

                            </td>
      </tr>
      	</volist>
          </table>
          
          
      

    <div class="button-div">
      <input name="submit" type="submit" value=" 确定 " class="button" />
      <input name="reset" type="reset" value=" 重置 " class="button" />
    </div>
    </form>
  </div>
</div>

<div id="footer">
共执行 5 个查询，用时 0.179588 秒，Gzip 已禁用，内存占用 0.598 MB<br />
版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。</div>
</body>
</html>